package com.wanxi.game;

import java.util.Random;

public class MyRandom {
    /**
     * 根据最小和最大得到之间的随机数
     *
     * @param start
     * @param end
     * @return
     */
    public static int getRandomNum(int start, int end) {
        Random random = new Random();
        return random.nextInt(100) + 1;
    }
}
